From: Greg Sabino Mullane Date: Thu, 11 Jan 2007 15:56:37 +0000 (+0000) Subject: Better output of filenames. X-Git-Tag: 1.31.0-rc.0~54503 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=acd25175182e4223dfd70d0108ea9edf3b551997;p=lhc%2Fweb%2Fwiklou.git Better output of filenames. --- diff --git a/maintenance/postgres/compare_schemas.pl b/maintenance/postgres/compare_schemas.pl index cdbbdf411b..ae5f86c503 100644 --- a/maintenance/postgres/compare_schemas.pl +++ b/maintenance/postgres/compare_schemas.pl @@ -209,13 +209,13 @@ for my $t (sort keys %{$old{$oldfile}}) { my $newcol = $new{$newt}{column}; for my $c (keys %$oldcol) { if (!exists $newcol->{$c}) { - print "Column $t.$c not in new\n"; + print "Column $t.$c not in $new\n"; next; } } for my $c (keys %$newcol) { if (!exists $oldcol->{$c}) { - print "Column $t.$c not in old\n"; + print "Column $t.$c not in $oldfile\n"; next; } } @@ -223,7 +223,7 @@ for my $t (sort keys %{$old{$oldfile}}) { ## New but not old: for (sort keys %new) { if (!exists $old{$oldfile}{$_} and !exists $ok{NEW}{$_}) { - print "Not in old: $_\n"; + print "Not in $oldfile: $_\n"; next; } }